<?php

namespace App\Http\Middleware;

use Closure;

class Admin
{
    /**
     * 后台校验处理中间件
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
//        if(!session()->has("menu")){
//            return redirect(route("admin.login"));
//        }else{
            return $next($request);
//        }
    }
}
